﻿using System;
using System.Collections.Generic;

#nullable disable

namespace EfCoreDatabaseFirstDemo.Models
{
    public partial class Screeningunit
    {
        public Screeningunit()
        {
            InverseParent = new HashSet<Screeningunit>();
        }

        public long Id { get; set; }
        public DateTime CreationTime { get; set; }
        public long? CreatorUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }
        public long? LastModifierUserId { get; set; }
        public ulong IsDeleted { get; set; }
        public long? DeleterUserId { get; set; }
        public DateTime? DeletionTime { get; set; }
        public int? TenantId { get; set; }
        public long? ParentId { get; set; }
        public string Code { get; set; }
        public string DisplayName { get; set; }
        public string OrganizationCode { get; set; }
        public decimal? AbsoluteSe { get; set; }
        public decimal? MaxSe { get; set; }
        public decimal? MinDc { get; set; }
        public decimal? MinSe { get; set; }
        public byte? MinVisionFive { get; set; }
        public byte? MinVisionSix { get; set; }

        public virtual Screeningunit Parent { get; set; }
        public virtual ICollection<Screeningunit> InverseParent { get; set; }
    }
}
